package com.kfirszt.elearning.persistence.dao;

import java.util.List;

import com.kfirszt.elearning.dictionary.Province;
import com.kfirszt.elearning.persistence.model.City;

public interface CityDAO extends GenericDAO<City, Long> {

	City findByNameAndProvinceOrCreate(String name, Province province);

	List<City> findByName(String query);

}
